package com.atguigu.tingshu.common.login;

import org.springframework.http.RequestEntity;

import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Login {

    /**
     * 是否必须登录
     * @return
     */
    boolean required() default true;
}
